<div id="maincontent">
	<div id="content">
    
    
    
    
    <div class="box1">
      <h1><?php echo lico_lang('stats', 'overall.charts.link.title'); ?></h1>
      <div class="statsitem">
        <?php
        
        $filearray = array();
        $fd = opendir("charts");
        while ($file = readdir($fd)) {
          if ($file != "." && $file != "..") {
            $filearray[] = $file;
          }
        }
        closedir($fd);
        sort($filearray);
        for ($a=0; $a<count($filearray); $a++) {
          echo "<a href=\"/charts/".$filearray[$a]."?".time()."\"><img src=\"/charts/".$filearray[$a]."?".time()."\" alt=\"".$lico['baseurl']."/charts/".$filearray[$a]."\" title=\"".$lico['baseurl']."/charts/".$filearray[$a]."\" border=\"0\" /></a>\n";
        }
        
        ?>
      </div>
    </div>
    
    
    
    
    
  </div>
</div>
